package com.seal.tsms.base.controller;

import com.seal.tsms.base.log.BaseLog;
import com.seal.tsms.base.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;

/**
 * Created by seal.jing on 2015/12/21.
 */
public class BaseController<E extends Serializable,PK extends Serializable> extends BaseLog {
    private BaseService<E,PK> selfService;

    public BaseService<E, PK> getSelfService() {
        return selfService;
    }

    @Autowired
    public void setSelfService(BaseService<E, PK> selfService) {
        this.selfService = selfService;
    }


}
